package com.xiaobao.campusLostFoundAfter.service;

import com.xiaobao.campusLostFoundAfter.common.Result;
import com.xiaobao.campusLostFoundAfter.pojo.Views;

public interface ViewsService {
    //增加浏览量
    int addViews(Integer itemId, String type);

    //获取浏览量
    Result<Views> getViews(Integer itemId);

    //获取浏览量
    Result<Views> getViewsLost(Integer itemId);
}
